package model;

import java.math.BigDecimal;

public class Product {
	
	private Long article;
	private String name;
	private BigDecimal price;
	private Long orderNr;
	
	public Product() {
		
	}
	
	public Product(Long art, String name, BigDecimal price, Long nr) {
		article = art;
		this.name=name;
		this.price = price;
		setOrderNr(nr);
	}	
	
	public Long getArticle() {
		return article;
	}
	public void setArticle(Long article) {
		this.article = article;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Long getOrderNr() {
		return orderNr;
	}

	public void setOrderNr(Long orderNr) {
		this.orderNr = orderNr;
	}
	

}
